package kr.saeildamil.androidstudy.ch11;

import kr.saeildamil.androidstudy.R;
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.util.Log;
import android.view.View;

public class Ch11Main extends Activity {
	static final String TAG = "Ch11Main";
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.ch11_main);
	}
	public void mOnClick(View v){
		Intent intent = new Intent();
		Log.d(TAG,"mOnclick");
		switch(v.getId()){
		case R.id.ch11_btn01:
			intent.setClass(this, ReadResource.class);
			break;
		case R.id.ch11_btn02:
			intent.setClass(this, TextChange.class);
			break;
		case R.id.ch11_btn03:
			intent.setClass(this, EditSelect.class);
			break;
		case R.id.ch11_btn04:
			intent.setClass(this, Radiocheck.class);
			break;
		case R.id.ch11_btn05:
			intent.setClass(this, ImageButtonEx.class);
			break;
		}
		startActivity(intent);
		
	}
}
